
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using JYH.Data;

namespace JYH.Model
{

	[TableName("SysMenuInfo")] 
	[PrimaryKey("MenuID", autoIncrement=false)]
	[ExplicitColumns]
    public partial class SysMenuInfo 
    {



        [Column]
		public string MenuID 
		{ 
			get
			{
				return _MenuID;
			}
			set
			{
				_MenuID = value;
			}
		}
		string _MenuID;



        [Column]
		public string MenuNO 
		{ 
			get
			{
				return _MenuNO;
			}
			set
			{
				_MenuNO = value;
			}
		}
		string _MenuNO;



        [Column]
		public string MenuName 
		{ 
			get
			{
				return _MenuName;
			}
			set
			{
				_MenuName = value;
			}
		}
		string _MenuName;



        [Column]
		public string MenuUrl 
		{ 
			get
			{
				return _MenuUrl;
			}
			set
			{
				_MenuUrl = value;
			}
		}
		string _MenuUrl;



        [Column]
		public string ClassName 
		{ 
			get
			{
				return _ClassName;
			}
			set
			{
				_ClassName = value;
			}
		}
		string _ClassName;



        [Column]
		public string NameSpace 
		{ 
			get
			{
				return _NameSpace;
			}
			set
			{
				_NameSpace = value;
			}
		}
		string _NameSpace;



        [Column]
		public string IconName 
		{ 
			get
			{
				return _IconName;
			}
			set
			{
				_IconName = value;
			}
		}
		string _IconName;



        [Column]
		public string RState 
		{ 
			get
			{
				return _RState;
			}
			set
			{
				_RState = value;
			}
		}
		string _RState;



        [Column]
		public string CreateTime 
		{ 
			get
			{
				return _CreateTime;
			}
			set
			{
				_CreateTime = value;
			}
		}
		string _CreateTime;



        [Column]
		public string CreateUser 
		{ 
			get
			{
				return _CreateUser;
			}
			set
			{
				_CreateUser = value;
			}
		}
		string _CreateUser;



        [Column]
		public string UpdateTime 
		{ 
			get
			{
				return _UpdateTime;
			}
			set
			{
				_UpdateTime = value;
			}
		}
		string _UpdateTime;



        [Column]
		public string UpdateUser 
		{ 
			get
			{
				return _UpdateUser;
			}
			set
			{
				_UpdateUser = value;
			}
		}
		string _UpdateUser;



        [Column]
		public string UpMenuID 
		{ 
			get
			{
				return _UpMenuID;
			}
			set
			{
				_UpMenuID = value;
			}
		}
		string _UpMenuID;



        [Column]
		public string MenuType 
		{ 
			get
			{
				return _MenuType;
			}
			set
			{
				_MenuType = value;
			}
		}

		[ResultColumn]
        public string UpMenuNO { get; set; }

        string _MenuType;

		[ResultColumn]
		public string MenuTypeName
		{
			get
			{
				switch (MenuType)
				{
					default: return "";
					case "0":return "WebApp";
					case "1":return "PdaApp";
					case "2":return "WinApp";
				}
			}
		}
		[ResultColumn]
		public string RoleMenuID { get; set; }

	[ResultColumn]
		public string IsSelect { get; set; }

	}
}
